from TollAll import tool
from net_project_tools.XinCommPage import XinCommPage
from page.net_project_tools.net_comm_page import NetCommPage
import user_data
import unittest
import warnings


class XinCommTest(unittest.TestCase,tool):

    def setUp(self):
        warnings.simplefilter('ignore', ResourceWarning)

    def tearDown(self):
        self.page.logout()

    def test_net_comm(self):
        """交流工具"""
        self.test_Send_comm()


        # self.page = XinCommPage()
        # self.page.login(*user_data.Xinxi_project_admin)
        # self.page.enter_project()
        # self.page.enter_tools('交流')
        # self.page.release_comm()
        # self.page.view_comment_comm()


if __name__ == '__main__':
    unittest.main()
